﻿@model Project_veilingsite.Models.RegisterModel
@{
    ViewBag.Title = "Wachtwoord Vergeten";
}

<div id="content">
    <h1>Wachtwoord Vergeten</h1>
    @using (Html.BeginForm("sendEmail", "Account", FormMethod.Post, new { enctype = "multipart/form-data" }))
    { //Methode in controller, Controller, Method (Post, get, ...)
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true)
        <table>
            <tr>
                <td>@Html.LabelFor(m => m.UserName)</td>
                <td>@Html.TextBoxFor(m => m.UserName)</td>
            </tr>
            <tr>
                <td colspan="2"><input type="submit" value="Wachtwoord Opvragen" /></td>
            </tr>
        </table>
    }
</div>
<div style="clear:both;"></div>

@section Scripts {
    @*@Scripts.Render("~/bundles/jqueryval")*@
}
